package cn.edu.zzuli.nothinglink.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class StartLiveVo {

    @NotNull(message = "直播名不能为空")
    @NotEmpty(message = "直播名不能为空")
    private String liveName;

    @NotNull
    @NotEmpty
    private String liveSecret;

    @NotNull
    @NotEmpty
    private String livePullUrl;

    @NotEmpty(message = "请选择要直播的班级对象")
    private List<Integer> classIds;

    @NotNull(message = "请选择需要直播的课程")
    private Integer courseId;

    @NotNull
    private boolean isAccessOtherCLass;

}
